﻿using UnityEngine;
using System.Collections;


namespace yoyo
{
    public enum ResLoadType
    {
        Res,
        AB,
        Path
    }

    public class GlobalFile
    {
        //网络地址
        public static readonly string strpath = "http://yd-lua.oss-cn-shanghai.aliyuncs.com/";

        //本地地址
        public static readonly string localstrpath = "http://localhost/";

        //各个平台沙盒路径
        public static readonly string UnityPath = Application.persistentDataPath +"/";

        //存放版本文件名
        public static readonly string VERSION_FILE = "version.txt";  


        /// <summary>
        /// openssl 公钥
        /// </summary>
        public static readonly string publicKey = @"-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC64H/MfMZ0IdrJNID0fkQdnGCY
TYvt4ld7jkIa6M0nSaCNZ3Ttey8Aa+yJ8ObH3aMHieti8bxJvl3tUker7Gah47GH
Xr8g19TkQN9iZh0OXXj1s+0raaV1MneTuidZodSFV1m170AN8B4nYctqbe21znJw
qmIsQWWllCpaGml9UQIDAQAB`
-----END PUBLIC KEY-----
";
    }


}
